package com.jweb.phone.suport.inter;

import com.jweb.core.inter.JWebInterceptor;
import com.jweb.log.Logger;
import com.jweb.util.ThreadPoolUtil;

/**
 * 项目拦截
 * 
 * @author Yuanqy
 */
public class JWebInter extends JWebInterceptor {
	private Logger log = Logger.getLogger(getClass());

	@Override
	public void init() {
		log.info(">>>>工程已经启动<<<<");
	}

	@Override
	public void destroy() {
		// 由于线程池中有某些 死循环线程。无法优雅关闭，所以要在这释放掉
		ThreadPoolUtil.shutdownNow();
		log.info(">>>>系统正在注销<<<<");
	}

}
